
package xyy.d3erpapi.pojo.poppo;

import java.io.Serializable;

public class SellerCustomerCallBackDto implements Serializable {
    private Long id;
    private String no;
    private boolean result;
    private String orgId;

    public SellerCustomerCallBackDto() {
    }

    public Long getId() {
        return this.id;
    }

    public String getNo() {
        return this.no;
    }

    public boolean isResult() {
        return this.result;
    }

    public String getOrgId() {
        return this.orgId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SellerCustomerCallBackDto)) {
            return false;
        } else {
            SellerCustomerCallBackDto other = (SellerCustomerCallBackDto) o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$no = this.getNo();
                Object other$no = other.getNo();
                if (this$no == null) {
                    if (other$no != null) {
                        return false;
                    }
                } else if (!this$no.equals(other$no)) {
                    return false;
                }

                if (this.isResult() != other.isResult()) {
                    return false;
                } else {
                    Object this$orgId = this.getOrgId();
                    Object other$orgId = other.getOrgId();
                    if (this$orgId == null) {
                        if (other$orgId != null) {
                            return false;
                        }
                    } else if (!this$orgId.equals(other$orgId)) {
                        return false;
                    }

                    return true;
                }
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof SellerCustomerCallBackDto;
    }

    @Override
    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $no = this.getNo();
        result = result * 59 + ($no == null ? 43 : $no.hashCode());
        result = result * 59 + (this.isResult() ? 79 : 97);
        Object $orgId = this.getOrgId();
        result = result * 59 + ($orgId == null ? 43 : $orgId.hashCode());
        return result;
    }

    @Override

    public String toString() {
        return "SellerCustomerCallBackDto(id=" + this.getId() + ", no=" + this.getNo() + ", result=" + this.isResult() + ", orgId=" + this.getOrgId() + ")";
    }
}
